package es.udc.emarketapp.emarket.model.purchase.purchaseFacade.vo;

import es.udc.emarketapp.emarket.model.orderLine.vo.OrderLineVO;

import java.io.Serializable;
import java.util.List;


public class OrderLineChunkVO implements Serializable {
	

	private static final long serialVersionUID = 1L;
	private List<OrderLineVO> orderLineVOs;
	private boolean existMoreOrderLines;
	
	public OrderLineChunkVO(List<OrderLineVO> orderLineVOs, 
		boolean existMoreOrderLines) {
		
		this.orderLineVOs = orderLineVOs;
		this.existMoreOrderLines = existMoreOrderLines;
	}

	public List<OrderLineVO> getOrderLineVOs() {
		return orderLineVOs;
	}

	public boolean getExistMoreOrderLines() {
		return existMoreOrderLines;
	}

	public String toString() {
		return "OrderChunkVO [existMoreOrderLines=" 
				+ existMoreOrderLines
				+ ", OrderLineVOs=" + orderLineVOs + "]";
	}
	
	
		
}
